package com.cmict.data.infra.enums.message;

import com.cmict.data.framework.common.exception.ErrorCode;

/**
 * 信息模板 Convert
 *
 * @author liutao
 * @date 2022/5/11
 */
public interface ErrorCodeConstants {

    ErrorCode MESSAGE_TEMPLATE_NOT_EXISTS = new ErrorCode(1105001000, "模板不存在");

    ErrorCode NOTICE_NOT_FOUND = new ErrorCode(1105001001, "当前通知公告不存在");

    ErrorCode NOTICE_CANNOT_UPDATE = new ErrorCode(1105001002, "当前通知公告已发布，不允许修改");

    ErrorCode USE_TEMPLATE_FAILED = new ErrorCode(1105001003, "组装发送内容失败");

    ErrorCode TIME_BIGGER_NOW = new ErrorCode(1105001004, "定时任务时间必须大于当前时间");

    ErrorCode TEMPLATE_MESSAGE_NOT_EXISTS = new ErrorCode(1105001005, "模板与消息关联不存在");

    ErrorCode MESSAGE_TEMPLATE_USE_FAILED = new ErrorCode(1104001006, "模板消息拼装失败，请检查发送参数");
}
